package cn.learn.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author huangyezhan
 * @version 1.0
 * @date 2020年07月25日13:34
 */
@Component
@ConfigurationProperties(prefix = "security.oauth")
public class TokenProperties {

    private String keyUri = "http://localhost:8672/oauth/token_key";

    public String getKeyUri() {
        return keyUri;
    }

    public void setKeyUri(String keyUri) {
        this.keyUri = keyUri;
    }

}
